import 'package:healthy_station_flutter/generated/json/base/json_field.dart';
import 'package:healthy_station_flutter/generated/json/social_card_entity.g.dart';
import 'dart:convert';
export 'package:healthy_station_flutter/generated/json/social_card_entity.g.dart';

@JsonSerializable()
class SocialCardEntity {
	//社会保障号码（身份证号)
	String? socialSecurityNumber = '';
	//姓名
	String? name = '';
	//性别
	String? gender = '';
	//民族
	String? group = '';
	//出生地编码
	String? bornNum = '';
	//出生日期
	String? born = '';
	//卡识别码
	String? cardIdNum = '';
	//卡类别
	String? cardType = '';
	//卡版本规范
	String? cardVersion = '';
	//初始化机构编码
	String? initCode = '';
	//发卡日期
	String? cardStartDate = '';
	//有效日期
	String? cardEndDate = '';
	//卡号
	String? cardNum = '';
	//社保卡读取的全部信息
	String? socialCardKxx = '';

	SocialCardEntity();

	factory SocialCardEntity.fromJson(Map<String, dynamic> json) => $SocialCardEntityFromJson(json);

	Map<String, dynamic> toJson() => $SocialCardEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}